package com.hjp.designmode.state;

/**
 * @Description:
 * @Author: huangjp6
 * @Date: 2022/3/17 14:40
 */
public class StopState implements State{
    public void doAction(Context context) {
        System.out.println("Player is in stop state");
        context.setState(this);
    }

    public String toString(){
        return "Stop State";
    }
}